#ifndef projection_h
#define projection_h

#include <math.h>
#include <MatrixMath.h>


#define AFINE_DIM 3
class projection :public MatrixMath
{
	private:


		float gamma,beta,alpha;
		float YawMatrix[AFINE_DIM][AFINE_DIM];
		float PitchMatrix[AFINE_DIM][AFINE_DIM];
		float RollMatrix[AFINE_DIM][AFINE_DIM];
		float RotationMatrix[AFINE_DIM][AFINE_DIM];
		float EulerMatrix[AFINE_DIM][AFINE_DIM];
		void  yaw_M(float angle);
		void  pitch_M(float angle);
		void  roll_M(float angle);

	public:

		float vector_M[AFINE_DIM][1];
		projection();
		void rotation(float y,float p,float r);
		void point(float x,float y,float z);
		void project();
		void projectOrtho(float &x,float &y);
//		vector rotationAngles();
};
#endif
